package com.sz.admin.admin.pojo.po;

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.sz.mysql.EntityChangeListener;

/**
* <p>
* 管理员
* </p>
*
* @author sz-admin
* @since 2025-06-27
*/
@Data
@Table(value = "admin", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "管理员")
public class Admin implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    @Schema(description ="编号")
    private String adId;

    @Schema(description ="姓名")
    private String adName;

    @Schema(description ="民族")
    private String adNationality;

    @Schema(description ="政治面貌")
    private String adPoliticalstatus;

    @Schema(description ="上级编号")
    private String adSuperior;

    @Schema(description ="登录密码")
    private String adPassword;

    @Schema(description ="联系方式")
    private String adPhone;

    @Schema(description ="身份证号")
    private String adCertificateid;

    @Schema(description ="性别")
    private String adSex;

    @Schema(description ="职位(权限等级)")
    private String adPosition;

    @Schema(description ="是否删除")
    private Integer isdelete;

    @Schema(description ="最后一次修改时间")
    private String adLastUpdateTime;

    @Schema(description ="创建时间")
    private String adCreateTime;

}